[INFO] cloning repository https://github.com/ic-news/ic-news-square
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ic-news/ic-news-square" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fic-news%2Fic-news-square", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fic-news%2Fic-news-square'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5ae74561f936a51593f6313f9e8c0233feedc11e
[INFO] fixing ic-news/ic-news-square against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fic-news%2Fic-news-square" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ic-news/ic-news-square
[INFO] finished tweaking git repo https://github.com/ic-news/ic-news-square
[INFO] tweaked toml for git repo https://github.com/ic-news/ic-news-square written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ic-news/ic-news-square on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ic-news/ic-news-square already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ic-representation-independent-hash v3.0.3
[INFO] [stderr]   Downloaded ic-http-certification v3.0.3
[INFO] [stderr]   Downloaded ic-certification v3.0.3
[INFO] [stderr]   Downloaded ic0 v0.23.0
[INFO] [stderr]   Downloaded ic-cdk-timers v0.10.0
[INFO] [stderr]   Downloaded candid v0.10.13
[INFO] [stderr]   Downloaded candid_derive v0.6.6
[INFO] [stderr]   Downloaded ic-cdk-macros v0.16.0
[INFO] [stderr]   Downloaded ic-cdk-macros v0.17.1
[INFO] [stderr]   Downloaded stacker v0.1.20
[INFO] [stderr]   Downloaded pretty v0.12.4
[INFO] [stderr]   Downloaded psm v0.1.25
[INFO] [stderr]   Downloaded ic_principal v0.1.1
[INFO] [stderr]   Downloaded ic-cdk v0.16.0
[INFO] [stderr]   Downloaded ic-cdk v0.17.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f2c8060390b8b6762b7e7f36e5405fc127ed71536b3d3452c1bb0ce4701737e6
[INFO] running `Command { std: "docker" "start" "f2c8060390b8b6762b7e7f36e5405fc127ed71536b3d3452c1bb0ce4701737e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f2c8060390b8b6762b7e7f36e5405fc127ed71536b3d3452c1bb0ce4701737e6" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f2c8060390b8b6762b7e7f36e5405fc127ed71536b3d3452c1bb0ce4701737e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f2c8060390b8b6762b7e7f36e5405fc127ed71536b3d3452c1bb0ce4701737e6" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling cc v1.2.19
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling data-encoding v2.9.0
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling pretty v0.12.4
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]     Checking leb128 v0.2.5
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]    Compiling slotmap v1.0.7
[INFO] [stderr]     Checking ic0 v0.23.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling psm v0.1.25
[INFO] [stderr]    Compiling stacker v0.1.20
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]     Checking half v1.8.3
[INFO] [stderr]     Checking ic-representation-independent-hash v3.0.3
[INFO] [stderr]     Checking urlencoding v2.1.3
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling binread_derive v2.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling candid_derive v0.6.6
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling binread v2.2.0
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking serde_bytes v0.11.17
[INFO] [stderr]     Checking ic_principal v0.1.1
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking serde_cbor v0.11.2
[INFO] [stderr]    Compiling serde_tokenstream v0.2.2
[INFO] [stderr]     Checking ic-certification v3.0.3
[INFO] [stderr]     Checking candid v0.10.13
[INFO] [stderr]     Checking ic-http-certification v3.0.3
[INFO] [stderr]    Compiling ic-cdk-macros v0.16.0
[INFO] [stderr]    Compiling ic-cdk-macros v0.17.1
[INFO] [stderr]     Checking ic-cdk v0.16.0
[INFO] [stderr]     Checking ic-cdk v0.17.1
[INFO] [stderr]     Checking ic-cdk-timers v0.10.0
[INFO] [stderr]     Checking ic_news_square v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find module or crate `ic_news_square` in this scope
[INFO] [stdout]  --> tests/error_test.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ic_news_square::utils::error_handler::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ic_news_square`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `ic_news_square`, use `cargo add ic_news_square` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `ic_news_square` in this scope
[INFO] [stdout]  --> tests/error_test.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ic_news_square::models::error::{SquareError, SquareResult};
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ic_news_square`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `ic_news_square`, use `cargo add ic_news_square` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `ic_news_square` in this scope
[INFO] [stdout]  --> tests/error_test.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ic_news_square::utils::error_monitor;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ic_news_square`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `ic_news_square`, use `cargo add ic_news_square` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `ic_news_square::models::error::SquareError`, `ic_news_square::models::error::SquareResult`, `ic_news_square::utils::error_monitor`
[INFO] [stdout]  --> tests/error_test.rs:1:37
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ic_news_square::models::error::{SquareError, SquareResult};
[INFO] [stdout]   |                                     ^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 2 | use ic_news_square::utils::error_handler::*;
[INFO] [stdout] 3 | use ic_news_square::utils::error_monitor;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `not_found_error` in this scope
[INFO] [stdout]   --> tests/error_test.rs:15:21
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let not_found = not_found_error("User", "user123", MODULE, FUNCTION);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `already_exists_error` in this scope
[INFO] [stdout]   --> tests/error_test.rs:19:26
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let already_exists = already_exists_error("Post", "post456", MODULE, FUNCTION);
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `unauthorized_error` in this scope
[INFO] [stdout]   --> tests/error_test.rs:23:24
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let unauthorized = unauthorized_error("Missing permissions", MODULE, FUNCTION);
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `validation_error` in this scope
[INFO] [stdout]   --> tests/error_test.rs:27:22
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let validation = validation_error("Title cannot be empty", MODULE, FUNCTION);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `content_too_long_error` in this scope
[INFO] [stdout]   --> tests/error_test.rs:31:28
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let content_too_long = content_too_long_error("Comment", 500, 750, MODULE, FUNCTION);
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `invalid_operation_error` in this scope
[INFO] [stdout]   --> tests/error_test.rs:35:29
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let invalid_operation = invalid_operation_error(
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `system_error` in this scope
[INFO] [stdout]   --> tests/error_test.rs:44:18
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let system = system_error("Database connection failed", MODULE, FUNCTION);
[INFO] [stdout]    |                  ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `data_inconsistency_error` in this scope
[INFO] [stdout]   --> tests/error_test.rs:48:30
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let data_inconsistency = data_inconsistency_error(
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `resource_unavailable_error` in this scope
[INFO] [stdout]   --> tests/error_test.rs:58:32
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let resource_unavailable = resource_unavailable_error(
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `rate_limit_error` in this scope
[INFO] [stdout]   --> tests/error_test.rs:67:22
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let rate_limit = rate_limit_error(
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `dependency_error` in this scope
[INFO] [stdout]   --> tests/error_test.rs:76:22
[INFO] [stdout]    |
[INFO] [stdout] 76 |     let dependency = dependency_error(
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `permission_denied_error` in this scope
[INFO] [stdout]   --> tests/error_test.rs:85:29
[INFO] [stdout]    |
[INFO] [stdout] 85 |     let permission_denied = permission_denied_error(
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `service_unavailable_error` in this scope
[INFO] [stdout]   --> tests/error_test.rs:94:31
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let service_unavailable = service_unavailable_error(
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `quota_exceeded_error` in this scope
[INFO] [stdout]    --> tests/error_test.rs:103:26
[INFO] [stdout]     |
[INFO] [stdout] 103 |     let quota_exceeded = quota_exceeded_error(
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `resource_unavailable_error` in this scope
[INFO] [stdout]    --> tests/error_test.rs:123:26
[INFO] [stdout]     |
[INFO] [stdout] 123 |     let resource_error = resource_unavailable_error(
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `rate_limit_error` in this scope
[INFO] [stdout]    --> tests/error_test.rs:133:22
[INFO] [stdout]     |
[INFO] [stdout] 133 |     let rate_error = rate_limit_error(
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `service_unavailable_error` in this scope
[INFO] [stdout]    --> tests/error_test.rs:143:25
[INFO] [stdout]     |
[INFO] [stdout] 143 |     let service_error = service_unavailable_error(
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `not_found_error` in this scope
[INFO] [stdout]    --> tests/error_test.rs:154:21
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let not_found = not_found_error("User", "user123", MODULE, FUNCTION);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `data_inconsistency_error` in this scope
[INFO] [stdout]    --> tests/error_test.rs:171:17
[INFO] [stdout]     |
[INFO] [stdout] 171 |     let error = data_inconsistency_error(
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `validation_error` in this scope
[INFO] [stdout]    --> tests/error_test.rs:209:17
[INFO] [stdout]     |
[INFO] [stdout] 209 |     let error = validation_error("Test monitoring error", MODULE, FUNCTION);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ic_news_square` (test "error_test") due to 24 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "f2c8060390b8b6762b7e7f36e5405fc127ed71536b3d3452c1bb0ce4701737e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f2c8060390b8b6762b7e7f36e5405fc127ed71536b3d3452c1bb0ce4701737e6", kill_on_drop: false }`
[INFO] [stdout] f2c8060390b8b6762b7e7f36e5405fc127ed71536b3d3452c1bb0ce4701737e6
